package com.example.webflux_mongo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

/**
 * Copyright(C), 2020-2021, AmbroseCdMeng
 * FileName:    User
 * Author:      AmbroseCdMeng
 * Date:        2021/1/1617:30
 * Description: 创建实体类
 * History:
 * <author>     <time>      <version>       <desc>
 * 作者姓名     修改时间        版本号           描述
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @Id
    private String id;
    private String name;
    private int age;
}
